<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/base.css">
    <style>

    </style>
</head>

<body>

    <div class="content">
        <div class="imformation">
            <div class="operation">
                <h3>画布控制</h3>
                <div class="box">
                    <ul>
                        <li class="row">
                            <label for="girdPx">单位网格间隙(px)：</label>
                            <input type="number" name="girdPx" class="girdPxSet" placeholder="默认10px(最小)">
                            <input type="button" value="设置" class="btnPxSet">
                        </li>
                        <li class="row">
                            <label for="girdSize">单位网格大小(m)：</label>
                            <input type="number" name="girdSize" class="girdSizeSet" placeholder="默认0.5m(最小)">
                            <input type="button" value="设置" class="btnSizeSet">
                        </li>
                    </ul>
                    <button class="btnAxis">放置坐标原点</button>
                    <button class="btnClear">清空画布所有内容</button>
                    <button class="btnCursor">放置游标</button>
                    <button class="btnCursorCancel">取消游标</button>
                    <button class="btnCursorClear">清除所有游标</button>
                </div>
            </div>
            <div class="display">
                <h3>数据展示</h3>
                <div class="box">
                    <span>画布大小：<i class="data">1000px * 700px</i></span> <br>
                    <span>油管大小：<i class="data">50 * 35</i> <em>m</em> </span> <br>
                    <span>网格大小：<i class="data">0.5</i> <em>m</em> (一格10像素) </span> <br>
                    <span>坐标原点：<i> (0,0) </i> 实际位于画布 <em class="data"> (0,0) </em></span>
                </div>
            </div>

        </div>

        <canvas width="1000" height="700">
            当前浏览器等级不支持画布功能，请升级您的浏览器，或者使用谷歌浏览器
        </canvas>
    </div>

    <script src="./js/index.js"></script>
</body>

</html>